package conson.tech.manage.app.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import conson.tech.manage.api.app.dto.AppGroupConfigDTO;
import conson.tech.manage.app.entity.pojo.AppGroupConfig;
import conson.tech.manage.app.entity.vo.AppClassVo;
import conson.tech.manage.app.entity.vo.AppSpecialVo;
import conson.tech.manage.app.entity.vo.PageVo;
import conson.tech.manage.app.entity.vo.QueryAppGroupVo;

import java.util.List;

/**
 * InterfaceName: AppGroupConfigService
 * Description: app分组配置服务
 * Author: HXL
 * Date: 2020/4/23 2:57 下午
 * Version: 1.0
 */
public interface AppGroupConfigService {
    int appAddGroup(AppGroupConfig groupConfig);

    int appUpdateGroup(AppGroupConfig groupConfig);

    int appDeleteGroup(AppGroupConfig groupConfig);

    Page<AppClassVo> queryGroupListPage(PageVo vo);


    int appAddGroupByList(List<AppGroupConfig> groupConfigList);

    int appUpdateGroupByList(List<AppGroupConfig> groupConfigList);

    List<QueryAppGroupVo> queryGroupList(Integer requestPageType);

    AppGroupConfig queryGroupByGroupId(Long groupId,Integer versionValue);

    Page<AppSpecialVo> querySpecial(PageVo pageVo);

    int addSpecial(AppSpecialVo appSpecialVo);

    int updateSpecial(AppSpecialVo appSpecialVo);

    int deleteSpecial(Long id);

    List<AppGroupConfigDTO> queryAppGroupByType(Integer type,Integer versionValue);
}
